package com.dp.builder;

/**
 * <p>program: dp.learn.master</p>
 * <p>Description: 装修工人</p>
 * <p>Copyright: Copyright (c) 2020</p>
 * <p>Company: wylCloud.com</p>
 *
 * @author wyl (764198025@qq.com)
 * @version 1.0
 * @date Create in 2020/7/2
 */
public abstract class Decorator {

    /****
     * 创建产品对象
     */
    protected Parlour product = new Parlour();

    /****
     * 墙面
     */
    public abstract void buildWall();

    /***
     * 电视
     */
    public abstract void buildTV();

    /***
     * 沙发
     */
    public abstract void buildSofa();

    /****
     *
     * @return 返回产品对象
     */
    public Parlour getResult() {
        return product;
    }
}
